package com.huatai.bpmn.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.bpmn.entity.FormEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yxy
 * @since 2023-07-07
 */
public interface FormService extends IService<FormEntity> {
	/**
	 * 表单分页查询
	 * @param data
	 * @return
	 */
	IPage page(JSONObject data);

	FormEntity findByPlace(String place);

	/**
	 * 表单外部参数修改
	 * @param data
	 * @param place
	 * @return
	 */
	boolean updateExternalParameter(JSONObject data, String place);

    FormEntity getByPlace(String place);
}
